package com.dynamic.mybatis.core.exceptions;

/**
 * @Description
 * @Author xs
 * @Date 2023/4/17 17:09
 */
public class MybatisExecutorRollbackException extends RuntimeException {
    private Object result;

    public MybatisExecutorRollbackException(String message) {
        super(message);
    }

    public MybatisExecutorRollbackException(String message, Object result) {
        super(message);
        this.result = result;
    }

    public MybatisExecutorRollbackException(String message, Throwable cause) {
        super(message, cause);
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}